package cn.edu.scau.cmi.liuxintong.Singleton;

import com.sun.xml.internal.bind.v2.runtime.unmarshaller.XsiNilLoader.Single;

public class Chairman {
    private static  Chairman instance; 
    private static String name;
    private Chairman (String name) {
    	this.name=name;
    }
    public static Chairman getInstance (String name) {
    	if(instance==null&&!name.equals(null)) 
    	instance=new Chairman(name);
    		return  instance ;	
    	
    }
   public static String getName() {
	   return name;
   }
}
